import request from '@/config/request.js';

// 查询待报工订单
export const getWaitingCompletionList = (params) => request.post('/feishu/getWaitingCompletionList', params);

// 查询已经报工订单
export const getCompletionList = (params) => request.post('/feishu/getCompletionList', params);


// 查询待报工订单 分页查询
export const getWaitingCompletionGroupContract = (params) => request.post('/feishu/getWaitingCompletionGroupContract', params);



// 历史查询
export const querySubmitHistoryList = (params) => request.post('/feishu/querySubmitHistoryList', params);
// 历史查询
export const querySubmitHistoryBySubmitDate = (params) => request.post('/feishu/querySubmitHistoryBySubmitDate', params);

export const selectSubmitReportByDailyDay = (params) => request.post('/feishu/selectSubmitReportByDailyDay', params);
export const selectSubmitReportByMonthDay = (params) => request.post('/feishu/selectSubmitReportByMonthDay', params);


// 查询用户业务测试类型，可以分为 A/B 测试
export const getUserView = (params) => request.get('/feishu/getUserView', params);

// 站点日报提交订单-新模式
export const newSubmitStationDay = (params) => request.post('/feishu/newSubmitStationDay', params);

// 修改已经提交的数据
export const updateSubmitInfo = (params) => request.post('/feishu/updateSubmitInfo', params);
